<div class="contents">
    <ol class="breadcrumb">
        <li><a href="#/index/panel">首页</a></li>
        <li class="active">用户行为列表-客户注册情况</li>
    </ol>
    <!-- list 1 -->
    <form class="form-inline search-box" role="form" ng-submit="queryList()" novalidate>

        <div class="form-group">
            当前总注册情况统计(<span style="color: #00a0e9">{{times}}</span>)(人数)
        </div>
    </form>
    <table class="table table-striped table-hover table-bordered">
        <thead>
        <tr>
            <th width="110">APP</th>
            <th width="110">总注册</th>
            <th width="110">SFA老用户转</th>
            <th width="110">新注册</th>
            <th width="110">认证通过</th>
            <th width="110">未提交认证</th>
            <th width="110">认证不通过</th>
            <th width="110">认证审核中</th>
        </tr>
        </thead>
        <tbody>
            <tr>
                <td>超级理财师</td>
                <td>{{sfa.all}}</td>
                <td>--</td>
                <td>--</td>
                <td>{{sfa.role2|| 0}}</td>
                <td>{{sfa.role1|| 0}}</td>
                <td>{{sfa.role99|| 0}}</td>
                <td>{{sfa.role98|| 0}}</td>
            </tr>
            <tr>
                <td>金策师</td>
                <td>{{jcs.sfaAll+jcs.jcsAll}}</td>
                <td>{{jcs.sfaAll}}</td>
                <td>{{jcs.jcsAll}}</td>
                <td>{{jcs.shopRole2|| 0}}</td>
                <td>{{jcs.shopRole1|| 0}}</td>
                <td>{{jcs.shopRole99|| 0}}</td>
                <td>{{jcs.shopRole98 || 0}}</td>
            </tr>
        </tbody>
    </table>



    <!-- list 2 -->
    <form class="form-inline search-box" role="form" ng-submit="queryList()" novalidate>

        <div class="form-group">
            日增总注册情况(默认显示最近7天内)(人数)
        </div>
    </form>
    <form class="form-inline search-box" role="form" ng-submit="queryList()" novalidate>
        <div class="form-group">
            <select class="form-control" ng-model="getPt">
                <option value="">全部</option>
                <option value="sfa">超级理财师</option>
                <option value="jcs">金策师</option>
            </select>
        </div>
        <div class="form-group">
            从<input type="date" class="form-control" placeholder="日期格式:yyyy-MM-dd" ng-model="monthStart">
            至<input type="date" class="form-control" placeholder="日期格式:yyyy-MM-dd" ng-model="monthEnd">
        </div>

        <button type="submit" class="btn btn-primary">查询</button>
    </form>
    <table class="table table-striped table-hover">
        <thead>
        <tr>
            <th width="110">日期</th>
            <th width="110">APP</th>
            <th width="110">日增总注册</th>
            <th width="110">SFA老用户转</th>
            <th width="110">新注册</th>
            <th width="110">认证通过</th>
            <th width="110">未提交认证</th>
            <th width="110">认证不通过</th>
            <th width="110">认证审核中</th>
        </tr>
        </thead>
        <tbody>
            <tr ng-if="list.length==0 && !loading">
                <td style="text-align: center" colspan="9">暂无数据！</td>
            </tr>
            <tr ng-if="list.length==0 && loading">
                <td style="text-align: center" colspan="9">数据请求中...</td>
            </tr>
            <tr ng-repeat="d in list">
                <td>{{d.date}}</td>
                <td>{{d.uFrom=='1'&&'金策师'||'超级理财师' }}</td>
                <td>{{d.newregnum ||0 +d.zznum||0}}</td>
                <td>{{d.zznum||'-'}}</td>
                <td>{{d.newregnum||'0'}}</td>
                <td>{{d.rzpassnum||'0'}}</td>
                <td>{{d.norznum||'0'}}</td>
                <td>{{d.rznopassnum||'0'}}</td>
                <td>{{d.rzingnum||'0'}}</td>
            </tr>
        </tbody>
    </table>

    <div style="display: inline-block" class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
    <div style="display: inline-block;vertical-align: text-bottom;margin: 15px;color: #428bca;font-size: 14px" class="form-inline" ng-show="list.length > 0">
        <label style="vertical-align: sub;font-weight: 400">每页显示：</label><input type="number" class="form-control" ng-model="setPageSize" max="1000"><label style="vertical-align: baseline;font-weight: 400" >&nbsp;&nbsp;条（最大1000条）<button type="button" class="btn btn-primary" ng-click="changePageSize()" style="vertical-align: sub">确定</button></label>
    </div>
</div>

<div class="layer-box" ng-show="loading">
    <div class="layer-bg" style="z-index: 1000"></div>
    <div class="layer-con " style="padding:10px 20px;background: none; color: #fff; font-size: 28px;z-index: 1001">
        加载中...
    </div>
</div>